<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/WEB-INF/struts-tags.tld"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>欢迎访问产品运营互动中心！</title>
<%@ include file="/commons/include/head-meta.inc.jsp"%>
<link rel="stylesheet" type="text/css" href="<s:url value="/script/vTip/css/vtip.css"/>" />
<script type="text/javascript" src="<s:url value="/script/vTip/vtip-min.js"/>"></script>
<style type="text/css">
.validDateTr{
	color: red;
}
.validDateTr a:link{
	color: red;
}
.validDateTr a:visited{
	color: red;
}
</style>
<style type="text/css">
<!--
.stypeType {
	color: #0000FF!important;
	font-weight: bold;
}
-->
</style>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
<table width="980" border="0" cellspacing="0" cellpadding="0" align="center">
		<tr>
			<td>
			<table width="100%" border="0" cellpadding="0" cellspacing="0"
				background="<s:url value="/images/new/gxzl_index_2.gif"/>">
				<tr>
					<td width="20" height="32">&nbsp;</td>
					<td width="20"><img
						src="<s:url value="/images/new/dq_dot.gif"/>" width="15"
						height="12" /></td>
					<td>当前位置：统一代办</td>

				</tr>
			</table>
			</td>
		</tr>
	<tr>
		<td background="<s:url value="/images/home_4a.gif"/>" class="leftbg">
		<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
	        <tr>
	          <td valign="top" align="left" height="40px"><br/>
	          	&nbsp;&nbsp;
	          	<span>
	          	<a style="color:#0000FF" id="cur" href="<s:url value="/bpm/pvc/newBusinessReq_findOARunTaskList.action"/>">待办单</a>
	          	</span>&nbsp;
	          	<span>
	          	<a style="color:#0000FF" id="event" class="stypeType" href="<s:url value="/bpm/pvc/newBusinessReq_findOAHisTaskList.action"/>">已办单</a>
	          	</span>
	          </td>
	        </tr>
	        		
			<tr>
				<td width="20%" valign="top">
				<table width="100%" height="400"  border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
					<tr>
						<td valign="top" align="center">
					<table width="98%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td height="5">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td width="5" height="5"><img src="<s:url value="/images/cphdzx_tab1.gif"/>" width="5" height="5" /></td>
										<td class="tdborderup"><img src="<s:url value="/images/spacer.gif"/>" width="1" height="1" /></td>
										<td width="5"><img src="<s:url value="/images/cphdzx_tab2.gif"/>" width="5" height="5" /></td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td  class="tdborderleftright">
							<form action="newBusinessReq_findOAHisTaskList.action" method="post" style="margin: 0">
							<table width="600px" cellSpacing=1 cellPadding=0 style="margin-left: 10px">
								<tr height=30>
									<td>需求名称：</td>
									<td><input name="flowTaskForm.reqTitle" type="text" value=""/></td>
									<td>发起人：</td>
									<td><input name="flowTaskForm.startUser" type="text" value=""/></td>									
									<td align=left>
				                     <input type="button" name="searchBtn" onclick="document.forms[0].submit();"  value="查 询">
				                     <input type="button" name="resetBtn" onclick="document.forms[0].reset();"  value="重 置">
									</td>								
								</tr>
							</table>
							</form>
							<table width="98%" border="0" cellspacing="0" cellpadding="7"
								align="center" class=tablecolor2>
								<tr>
									<td bgcolor="9AC2EB" width="30%">
									<div align="center"><font color="#FFFFFF">名称</font></div>
									</td>
									<td bgcolor="9AC2EB" width="*">
									<div align="center"><font color="#FFFFFF">内容</font></div>
									</td>									
									<td bgcolor="9AC2EB" width="8%">
									<div align="center"><font color="#FFFFFF">发布人</font>
									</div>
									</td>
									<td bgcolor="9AC2EB" width="16%">
									<div align="center"><font color="#FFFFFF">发布时间</font>
									</div>
									</td>
									<td bgcolor="9AC2EB" width="12%">
									<div align="center"><font color="#FFFFFF">操作</font></div>
									</td>	
								</tr>
							<s:iterator value="#request.bsReqlist">
								<tr <s:if test="isValidDate=='true'">class="validDateTr"</s:if>>
									<td>
										<s:if test="isValidDate=='true'">
											<div class="vtip" title="超期未完成">
											<img src="<s:url value="/images/new/warning_16.png"/>" border="0"/>
											<s:property value="name" />
											</div>
										</s:if>
										<s:else>
											<s:property value="name" />
										</s:else>
									</td>
									<td>
										<s:property value="content" escape="false"/>
									</td>
									<td>
										<div align="center"><s:property value="startPerson" /></div>
									</td>
																		
									<td>
										<div align="center"><s:date name="begin" format="yyyy-MM-dd HH:mm"/></div>
									</td>
									
									<td>
									<div align="center">
										<s:if test="urlType=='02'">
										<a href="<s:url value="/bpm/flowReq_showInfo.action?procinstId="/><s:property value="procinstId" />&reqId=<s:property value="id" />">查看</a>
										</s:if>
										<s:else>
											<s:if test="urlType=='03'">
											<a href="<s:url value="/bpm/flowContractInfo_showInfo.action?procinstId="/><s:property value="procinstId" />&reqId=<s:property value="id" />">查看</a>
											</s:if>
											<s:else>
											<a href="<s:url value="/bpm/newBusinessReq_showInfo.action?procinstId="/><s:property value="procinstId" />&reqId=<s:property value="id" />">查看</a>
											</s:else>
										</s:else>
										<a href="flowTaskCommon_printInstGraph.action?procinstId=<s:property value="procinstId" />" target="_blank">轨迹</a>
									</div>
									</td>
								</tr>
							</s:iterator>
							
							</table>
							<div style="text-align: center">${pageNaviStr }</div>
							
							</td>
						</tr>
						<tr>
							<td height="5">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td width="5" height="5"><img src="<s:url value="/images/cphdzx_tab3.gif"/>" width="5" height="5" /></td>
										<td class="tdborderbottom"><img src="<s:url value="/images/spacer.gif"/>" width="1" height="1" /></td>
										<td width="5"><img src="<s:url value="/images/cphdzx_tab4.gif"/>" width="5" height="5" /></td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
</body>
</html>